Error Number:
ERROR: lastval is not yet defined in this session
SELECT LASTVAL() as ins_id
Filename: /var/www/company.funlocity.com/api/controllers/welcome.php
Line Number: 106